var pages = [];

function hideAllPages() {
	for (var i = 0; i < pages.length; i++) {
		document.getElementById(pages[i]).style.display = "none";
	}
}

function showPage(p) {
	hideAllPages();
	if (p.length > 0)
		document.getElementById(p).style.display = "";
}
